<!DOCTYPE html>
<html>
    <?php
    include'login.php';
 if(isset($_POST['submit']))
 {
     SignUp($_POST['user'],$_POST['password'], $_POST['first_name'], $_POST['last_name'] ); 
 }
    
    ?>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
    </head>
    <body>
    
    
        <form method ="post"  >
            <table>
                <tr>
                    <td>
                        User name
                    </td>
                    <td>
                        <input type ="text" name ="user"  maxlength ="50"/>
                    </td>
                    <td>
                        password
                    </td>
                    <td>
                        <input type ="text" name ="password" maxlength ="30" />
                    </td>
                    <td>
                        First Name
                    </td>
                    <td>
                        <input type ="text" name ="first_name" maxlength ="30" />
                    </td>
                    <td>
                        last Name
                    </td>
                    <td>
                         <input type ="text" name ="last_name" maxlength ="30" />
                    </td>
                    <td>
                        <input type ="submit" name ="submit" value ="register" />
                    </td>
                        
                </tr>
            </table>
            
        </form>
              
    </body>
</html>
